package com.genius.adminmanager.user.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

public interface UserService {

	JSONObject getSelectHead(JSONObject json,HttpSession session,JSONObject response);
	
	JSONObject getSelectBody(JSONObject json,JSONObject response);
	
	JSONObject add(JSONObject json,JSONObject response);
	
	JSONObject edit(JSONObject json,JSONObject response);
	
	JSONObject batchdel(JSONObject json,JSONObject response);
	
	JSONObject exportExcel(HttpServletRequest request,HttpServletResponse responseServlet,JSONObject response);
	
	JSONObject getTableSelect(JSONObject json,JSONObject response);
	
	JSONObject getTreeSelect(JSONObject response);
	//获取钉钉的人员
	JSONObject getUserByTreeSelect(JSONObject response);
	//获取指定部门和固定人员的钉钉的人员
	JSONObject getUserByTreeSelect(JSONArray deptArray,JSONObject userJson,JSONObject response);

	JSONObject batchadd(JSONObject json, JSONObject response);

	JSONObject getphoto(JSONObject json, JSONObject response);

	JSONObject update_photo(JSONObject json, JSONObject response);

	JSONObject getpassword(JSONObject json, JSONObject response);

	JSONObject reset_password(JSONObject json, JSONObject response);

	JSONObject getUserTreeSelect1(JSONObject response);
}
